package studiodiva.portfolio.client.lib.history;

import static studiodiva.portfolio.client.lib.lang.Lang.event;

import studiodiva.portfolio.client.lib.even.Event;
import studiodiva.portfolio.client.lib.even.HasEvents;
import studiodiva.portfolio.client.model.HasApplication;

public interface HistoryItem extends HasEvents, HasApplication {

  Event<String> ON_CHANGE = event();

  String getKey();

  String getValue();

  void load(String value);

  void loadDefault();

  void save(String value);
}
